﻿using System;

namespace Utils.WeChat.Result
{
    public class ResultLogin : ResultBase
    {
        private DateTime create_time { get; set; } = DateTime.Now;

        public int expires_in { get; set; }

        /// <summary>
        /// 支付过期
        /// </summary>
        public bool is_expires => create_time.AddSeconds(expires_in) < DateTime.Now;
    }
}
